import type { RouteRecordRaw } from 'vue-router'

function Layout() {
  return import('@/layouts/Layout.vue')
}

export default [
  {
    path: '/market',
    component: Layout,
    redirect: '/market/index',
    meta: {
      title: '模板市场',
      icon: 'i-icon-park-outline:market',
    },
    children: [{
      path: 'index',
      component: () => import('@/views/visual/market/Market.vue'),
      children: [],
      meta: {
        breadcrumb: false,
        activeMenu: '/market',
        menu: false,
        title: '模板市场',
      },
    }],
  },
] satisfies RouteRecordRaw[]
